/* eslint-disable */
import fetch from '../config/fetch'


/**
 * 获取首页所有城市
 */
export const groupcity = () => fetch('/v1/cities', {
    type: 'group'
});
/*
* 获取首页默认地址
* */
export const cityGuess = () => fetch('/v1/cities', {type: 'guess'});
/*
* 获取热门城市*/
export const hotcity = () => fetch('/v1/cities', {type: 'hot'});
/*
* 获取当前所在城市
* */
export const currentcity = number => fetch('/v1/cities' + number);